# 导包
import requests

# 请求数据
request = requests.get("https://www.baidu.com/")

print("输出编码格式：",request.encoding)

request.encoding = "utf-8"

print("输入请求返回的数据：",request.text)